You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Dew.Stats.Units Namespace > Classes > Regress Class > Regress Methods > RegressTest Method > Regress.RegressTest Method ([In] TVec, [In] TVec, int, out TRegStats, bool, [In] TVec)
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
Regress.RegressTest Method ([In] TVec, [In] TVec, int, out TRegStats, bool, [In] TVec)

Regression tests.

Syntax
C#
Visual Basic
public static void RegressTest([In] TVec Y, [In] TVec YCalc, int NumPars, out TRegStats RegStat, bool Constant, [In] TVec Weights);
Parameters 
Description 
[In] TVec Y 
Dependant variables. 
[In] TVec YCalc 
Estimated (calculated) dependant variables. 
int NumPars 
Number of variables (parameters) in ML model A*b=y (number of columns in A matrix or number of rows in b). 
out TRegStats RegStat 
Returns regression statistics parameters. 
bool Constant 
If true then include intercept term b(0) in calculations. If false, set intercept term b(0) to 0.0. 
[In] TVec Weights 
Model weights (optional). 

Use regression results to calculate basic regression statistics for model: 

A*b=Y  

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!